package server

import (
	"net/http"
)

type middleware func(http.HandlerFunc) http.HandlerFunc

func default_middleware(handler http.HandlerFunc) http.HandlerFunc {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		//TODO 日志等内容
		handler.ServeHTTP(w, r)
	})

}
